﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Managers;

namespace MyAdressBookWPF.ViewModel
{
    public class MainWindowViewModel : ViewModelBase
    {

        public UserDataManager _uDataManager;
        private ViewModelBase _currentViewModel;

        public MainWindowViewModel()
        {
            CurrentViewModel = new LoginViewModel(this);
        }

        #region Properties
        public ViewModelBase CurrentViewModel
        {
            get
            {
                return _currentViewModel;
            }
            set
            {
                _currentViewModel = value;
                OnPropertyChanged("CurrentViewModel");
            }
        }

        #endregion
    }
}
